package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entiity.PageResult;
import com.itheima.entiity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * Created by Sakai
 * Date 2020/11/21
 */
public interface CheckGroupService {
    public void add(CheckGroup checkGroup, Integer[] checkitemIds);
    /*public PageResult findPage(QueryPageBean pageBean);*/
    public CheckGroup findById(Integer id);
    public void edit(CheckGroup checkGroup, Integer[] checkitemIds);
    public List<CheckGroup> findAll();
    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);



//    PageResult findPage(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    void setCheckGroupAndCheckItem(Integer checkGroupId,Integer[] checkitemIds);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);
}
